const models = [
    {
        name: 'pre',
        str: 'pre'
    },
    {
        name: 'dev',
        str: 'development'
    },
    {
        name: 'build',
        str: 'production'
    },
    {
        name: 'build:dev',
        str: 'development'
    }
]
const res = models.filter(item => {
    return item.name == process.env.npm_lifecycle_event
})
const NODE_ENV = res[0].str
const envFiles = [
    `.env.${NODE_ENV}`
]
export default envFiles